package com.zc.chapter511;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/api/hello")
public class HelloController {


    @GetMapping("/say")
    public String say(){

        return "Hello  World!";
    }
}
